package rladidxo.basic;

public class J03_Sukjae {
public static void main(String[] args) {
	int n=3;
	
	n++;
	System.out.println("n=="+n);
	
	n--;
	
	System.out.println("n=="+n);
	
	/*---------------------------------------------------*/
    System.out.println("-------------------------------------------------");
	
	System.out.println("2+2="+(2+2));
	
	System.out.println("2+2="+2+2);
	/*---------------------------------------------------*/
    System.out.println("-------------------------------------------------");
	
    char a,b; a='b'; System.out.println(a);
    b='c'; System.out.println(b);
    a= b; System.out.println(a);
    /*---------------------------------------------------*/
    System.out.println("-------------------------------------------------");
	
    int n1=1; int k=2; int r =n;
    if(k<n1)r=k; System.out.println(r);
    
    /*---------------------------------------------------*/
    System.out.println("-------------------------------------------------");
    
    int n2 = 1; int k2 = 2; int r2;
    if(n2<k2)r2 =k; else r2=k2+n2;
    System.out.println(r2);
    /*---------------------------------------------------*/
    System.out.println("-------------------------------------------------");
    int n3 = 1; int k3 = 2; int r3=k3;
    if(r3<k3)n3=r3; else k3 =n3;
    System.out.println(n3);
    /*---------------------------------------------------*/
    System.out.println("-------------------------------------------------");
    int n4 = 1; int k4=2; int r4=3;
    if(r4<n4+k4)r4=2*n4; else k4=2*r4;
    System.out.println(r4);
    /*---------------------------------------------------*/
    System.out.println("-------------------------------------------------");
    
    
    int number = 35;
    
    if(number%2==0)
    	System.out.println(number+"is even");
    else
    	System.out.println(number+"is odd");
    
    
}
}
